<%@page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<%
	String path =request.getContextPath();
%>
<head>
    <meta http-equiv="x-ua-compatible" content="ie=7" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <script language="javascript" type="text/javascript">
     	function goback(){
     		var url = "<%=path%>/other/goBack2Payment";
			location.href = url;
     	}

     	function exportData(){
			form1.action="<%=path%>/other/exportPayment?isList=n";
			form1.submit();
		}
     </script>
    
</head>
<body class="fullbody">
        <div class="context">
        	<div class="position">
            	<div class="tposi">当前位置：
                    	<a href="javascript:changeMenu(1,'<%=path%>/infopub/pubmain?menuid=1');"class="linkstyle">首页</a>&nbsp;&gt;&gt;&nbsp;
                       	<a href="javascript:changeMenu(5,'');" class="linkstyle">业务查询</a>&nbsp;&gt;&gt;&nbsp;
                        <span class="curposition">付款查询 </span>
                </div>
                <div class="help">
					<a href="javascript:void(null);" onclick="doHelp('<%=request.getContextPath()%>/help/html/FKCX.html');" class="linkstyle">帮助</a>
				</div>
            </div>
                <div class="subpage_title">
                    <div class="title_index">
                        <img src="<%=path%>/images/common/dot03.gif" alt="" border="0" />&nbsp;付款单明细</div>
                </div>
                <div class="margin20"></div>
                <div class="subpage_bidlist">
                    <div>
                         <div  >
		                    <div class="title_index">
							    <div class="margin20"></div>
							    <div class="subpage_search" >
			                        <table border="0" cellpadding="0" cellspacing="0" class="searchtable">
			                            <tr>
			                                <td valign="middle" class="w_1">付款单号：</td>
			                                <td valign="middle" class="w_2">
			                                    <input id="billNo" name="billNo" type="text" value="${paymentForm11.billNo}" readonly="readonly" class="searchtext" />
			                                </td>
			                                <td valign="middle" class="w_1">付款单日期：</td>
			                                <td valign="middle" class="w_2">
			                                    <input id="billDate" name="billDate" type="text" value="${paymentForm11.billDate}" readonly="readonly" class="searchtext" />
			                                </td>
			                            </tr>
			                            <tr>
			                                <td valign="middle" class="w_1">总付款金额：</td>
			                                <td valign="middle" class="w_2">
			                                    <input id="totalPayAmount" name="totalPayAmount" type="text" value="${paymentForm11.totalPayAmount}" readonly="readonly" class="searchtext" />
			                                </td>
			                            </tr>
			                            <tr><td colspan="4">&nbsp;</td></tr>
			                        </table>
                    			</div>
			                    <div class="margin20"></div>
							    <div>
							          <table class="tableCss" cellpadding="0" cellspacing="0">
							            <tr class="titleTr">
							                <th width="180px">票据信息</th>
							                <th width="230px">付款信息</th>
							                <th width="150px">金额</th>
							                <th width="240px" class="th1">收付款账户</th>
							            </tr>
								        <c:if test="${paymentForm11!=null && paymentForm11.items!=null}">
											<c:forEach items="${paymentForm11.items}" var="item" varStatus="index">
												<c:if test="${item.index%2==1}">
													<tr align="left" class="contTr-old"  >
												</c:if>
												<c:if test="${item.index%2==0}">
													<tr align="left" class="contTr-even">
												</c:if>
													<td class="td1">
														票据号：${item.ticketNo}<br/>
														票据类型：${item.ticketTypeName}<br/>
														结算方式：${item.balaceType}
													<td class="td1">
														付款公司：${item.payCorpName}<br/>
														订单号：${item.orderNo}<br/>
														发票号：${item.invoiceNo}<br/>
														合同号：${item.contractNo}<br/>
														产品：${item.prodName}
													</td>
													<td class="td1">
														付款金额：<font class="words-red-bold">${item.amount}</font><br/>
														币种：${item.curencyName}
													</td>
													<td class="td1">
														付款银行：${item.payerBankName}<br/>
														付款账号：${item.payerBankNo}<br/>
														收款银行：${item.payeeBankName}<br/>
														收款账号：${item.payeeBankNo}
													</td>
												</tr>
											</c:forEach>
										</c:if>
									</table>
							    </div>
							    <div class="margin20"></div>
							    <div>
							    	<form name="form1" method="post">
								        <table width="600" align="center" border="0" cellspacing="0" cellpadding="0">
								            <tr id="order_confirm" align="center">
								                <td>
								                    <input type="button" class="btnscs" value="返回" onclick="goback()" />
													&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								                    <input type="button" class="btnscs" value="导出" onclick="exportData()" />
								                </td>
								            </tr>
								        </table>
							        </form>
							    </div>
							</div>
			                <div class="margin20"></div>
						</div>
                    </div>
                    <div class="margin8"></div>
                    <div class="margin8">
                    	<table align="left">
							<tr class="title">
								<td>
									<div id="message" class="msgcolor">${system_err_msg}</div>
								</td>
							</tr>
						</table>
					</div> 
                </div>
            </div>
        <div class="margin20"></div>
</body>
</html>
